package com.example.service.impl.instructor;

import com.example.dao.instructor.TeacherDao;
import com.example.pojo.instructor.Teacher;
import com.example.service.instructor.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 小苏
 * @ClassName:TeacherServiceImpl
 * @description: TODO
 * @data 2022/12/7 23:03
 * @version: 1.0
 **/
@Service
public class TeacherServiceImpl implements TeacherService {
    @Autowired
    private TeacherDao teacherDao;

    @Override
    public List<Teacher> getTea() {
        return teacherDao.getTear();
    }
}
